package ru.housewife.form;

/**
 * Form object for
 * @see ru.housewife.model.WareUserPrice
 *
 * @author Alexander Troshanin
 */
public class WareUserPriceForm {

    private long id;

    private WareForm ware;

    private UserForm user;

    private double price;

    public WareUserPriceForm(long id, WareForm ware, UserForm user, double price) {
        this.id = id;
        this.ware = ware;
        this.user = user;
        this.price = price;
    }

    public long getId() {
        return id;
    }

    public WareForm getWare() {
        return ware;
    }

    public UserForm getUser() {
        return user;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
}
